package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 跟进相关信息
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "followup_relevant_content")
public class FollowupRelevantContent implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 跟进id
     */
    @TableField(value = "followup_id")
    private Integer followupId;

    /**
     * 相关信息类型 1客户 2联系人 3商机 4报价单 5合同 6回款 7产品
     */
    @TableField(value = "relevant_type")
    private Integer relevantType;

    /**
     * 相关信息项id
     */
    @TableField(value = "relevant_option_id")
    private Integer relevantOptionId;

    private static final long serialVersionUID = 1L;
}